package com.sunlee.admin.api;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * 后台管理启动类
 *
 * @author sunlee
 */

@ComponentScan(basePackages = {"com.sunlee"})
@MapperScan(basePackages = {"com.sunlee.**.dao"})
@SpringBootApplication
public class XJPPTAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(XJPPTAdminApplication.class, args);
        System.out.println("XJPPT-ADMIN-API 服务启动成功");
    }
}
